/**
 * Copyright (C) 2014-2017, Hrfax and/or its affiliates. All rights reserved.
 * Hrfax PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 */
package cn.zs.supply.common.core.login;


public enum LoginAgent {
	
	WEB,
	IOS,
	ANDROID;
	
	public static boolean isApp(String name){
		
		if(IOS.name().equals(name)){
			return true;
		}
		
		if(ANDROID.name().equals(name)){
			return true;
		}
		return false;
		
	}
}
